home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1999 March / EnigmA AMIGA RUN 35 (1999)(G.R. Edizioni)(IT)[!][issue 1999-03].iso / earcd / devel / vbcc-src / errors.h < prev    next >
Text File  |  1999-01-01  |  13KB  |  232 lines

  1. /*  $VER: vbcc (errors.h) V0.4  */
  2.  
  3. "declaration expected",ERROR|ANSIV|FATAL,                           /*  0   */
  4. "only one input file allowed",ERROR|NOLINE|FATAL,                   /*  1   */
  5. "Flag <%s> specified more than once",NOLINE|WARNING,                /*  2   */
  6. "Flag <%s> needs string",NOLINE|FATAL|ERROR,                        /*  3   */
  7. "Flag <%s> needs value",NOLINE|FATAL|ERROR,                         /*  4   */
  8. "Unknown Flag <%s>",NOLINE|FATAL|ERROR,                             /*  5   */
  9. "No input file",ERROR|NOLINE|FATAL,                                 /*  6   */
  10. "Could not open <%s> for input",NOLINE|FATAL|ERROR,                 /*  7   */
  11. "need a struct or union to get a member",ERROR|ANSIV,
  12. "too many (%d) nested blocks",ERROR|FATAL,
  13. "left block 0",ERROR|ANSIV,                                         /*  10  */
  14. "incomplete struct",ERROR|ANSIV,
  15. "out of memory",ERROR|FATAL,
  16. "redeclaration of struct <%s>",ERROR|ANSIV,
  17. "incomplete type (%s) in struct",ERROR|ANSIV,
  18. "function (%s) in struct/union",ERROR|ANSIV,                        /*  15  */
  19. "redeclaration of struct/union member <%s>",ERROR|ANSIV,
  20. "redeclaration of <%s>",ERROR|ANSIV,
  21. "invalid constant expression",ERROR|ANSIV,
  22. "array dimension must be constant integer",ERROR|ANSIV,
  23. "no declarator and no identifier in prototype",ERROR|ANSIV,         /*  20  */
  24. "invalid storage-class in prototype",ERROR|ANSIV,
  25. "void not the only function argument",ERROR|ANSIV,
  26. "<%s> no member of struct/union",ERROR|ANSIV,
  27. "increment/decrement is only allowed for aithmetic and pointer types",ERROR|ANSIV,
  28. "functions may not return arrays or functions",ERROR|ANSIV,         /*  25  */
  29. "only pointers to functions can be called",ERROR|ANSIV,
  30. "redefinition of var <%s>",ERROR|ANSIV,
  31. "redeclaration of var <%s> with new storage-class",ERROR|ANSIV,
  32. "first operand of conditional-expression must be arithmetic or pointer type",ERROR|ANSIV,
  33. "multiple definitions of var <%s>",ERROR|ANSIV,                     /*  30  */
  34. "operands of : do not match",ERROR|ANSIV,
  35. "function definition in inner block",ERROR|ANSIV,
  36. "redefinition of function <%s>",ERROR|ANSIV,
  37. "invalid storage-class for function",ERROR|ANSIV,
  38. "declaration-specifiers expected",ERROR|ANSIV,                      /*  35  */
  39. "declarator expected",ERROR|ANSIV,
  40. "<%s> is no parameter",ERROR|ANSIV,
  41. "assignment of different structs/unions",ERROR|ANSIV,
  42. "invalid types for assignment",ERROR|ANSIV,
  43. "only 0 can be compared against pointer",WARNING|ANSIV,             /*  40  */
  44. "pointers do not point to the same type",WARNING|ANSIV,
  45. "function initialized",ERROR|ANSIV,
  46. "initialization of incomplete struct",ERROR|FATAL|ANSIV,
  47. "initialization of incomplete union",ERROR|FATAL|ANSIV,
  48. "empty initialization",ERROR|ANSIV,                                 /*  45  */
  49. "initializer not a constant",ERROR|ANSIV,
  50. "double type-specifier",WARNING|ANSIV,
  51. "illegal type-specifier",WARNING|ANSIV,
  52. "multiple storage-classes",WARNING|ANSIV,
  53. "storage-class specifier should be first",WARNING|ANSIV,            /*  50  */
  54. "bitfields must be ints",WARNING|ANSIV,
  55. "bitfield width must be constant integer",WARNING|ANSIV,
  56. "struct/union member needs identifier",WARNING|ANSIV,
  57. "; expected",WARNING|ANSIV,
  58. "struct/union has no members",WARNING|ANSIV,                        /*  55  */
  59. "} expected",WARNING|ANSIV,
  60. ", expected",WARNING|ANSIV,
  61. "invalid type-qualifier",WARNING|ANSIV,
  62. ") expected",WARNING|ANSIV,
  63. "array dimension has sidefx (will be ignored)",WARNING|ANSIV,       /*  60  */
  64. "array of size 0 (set to 1)",WARNING|ANSIV,
  65. "] expected",WARNING|ANSIV,
  66. "mixed identifier- and parameter-type-list",WARNING|ANSIV,
  67. "var <%s> was never assigned a value",WARNING|DONTWARN|INFUNC,
  68. "var <%s> was never used",WARNING|DONTWARN|INFUNC,                  /*  65  */
  69. "invalid storage-class",WARNING|ANSIV,
  70. "type defaults to int",WARNING|DONTWARN,
  71. "redeclaration of var <%s> with new type",WARNING|ANSIV,
  72. "redeclaration of parameter <%s>",WARNING|ANSIV,
  73. ": expected",WARNING|ANSIV,                                         /*  70  */
  74. "illegal escape-sequence in string",WARNING|ANSIV,
  75. "character constant contains multiple chars",WARNING,
  76. "could not evaluate sizeof-expression",ERROR|ANSIV,
  77. "\" expected",ERROR|ANSIV,
  78. "something wrong with numeric constant",ERROR|ANSIV,                /*  75  */
  79. "identifier expected",ERROR|ANSIV|FATAL,
  80. "definition does not match previous declaration",WARNING|ANSIV,
  81. "integer added to illegal pointer",WARNING|ANSIV,
  82. "offset equals size of object",WARNING|DONTWARN,
  83. "offset out of object",WARNING|ANSIV,                               /*  80  */
  84. "only 0 should be cast to pointer",WARNING|DONTWARN,
  85. "unknown identifier <%s>",ERROR|ANSIV,
  86. "too few function arguments",WARNING|ANSIV,
  87. "division by zero (result set to 0)",WARNING|ANSIV,
  88. "assignment of different pointers",WARNING|ANSIV,                   /*  85  */
  89. "lvalue required for assignment",ERROR|ANSIV,
  90. "assignment to constant type",ERROR|ANSIV,
  91. "assignment to incomplete type",ERROR|ANSIV,
  92. "operands for || and && have to be arithmetic or pointer",ERROR|ANSIV,
  93. "bitwise operations need integer operands",ERROR|ANSIV,             /*  90  */
  94. "assignment discards const",WARNING|ANSIV,
  95. "relational expression needs arithmetic or pointer type",ERROR|ANSIV,
  96. "both operands of comparison must be pointers",ERROR|ANSIV,
  97. "operand needs arithmetic type",ERROR|ANSIV,
  98. "pointer arithmetic with void * is not possible",ERROR|ANSIV,       /*  95  */
  99. "pointers can only be subtracted",ERROR|ANSIV,
  100. "invalid types for operation <%s>",ERROR|ANSIV,
  101. "invalid operand type",ERROR|ANSIV,
  102. "integer-pointer is not allowed",ERROR|ANSIV,
  103. "assignment discards volatile",WARNING|ANSIV,                       /*  100 */
  104. "<<, >> and %% need integer operands",ERROR|ANSIV,
  105. "casting from void is not allowed",ERROR|ANSIV,
  106. "integer too large to fit into pointer",ERROR|ANSIV,
  107. "only integers can be cast to pointers",ERROR|ANSIV,
  108. "invalid cast",ERROR|ANSIV,                                         /*  105 */
  109. "pointer too large to fit into integer",ERROR|ANSIV,
  110. "unary operator needs arithmetic type",ERROR|ANSIV,
  111. "negation type must be arithmetic or pointer",ERROR|ANSIV,
  112. "complement operator needs integer type",ERROR|ANSIV,
  113. "pointer assignment with different qualifiers",WARNING|ANSIV,       /*  110 */
  114. "dereferenced object is no pointer",ERROR|ANSIV,
  115. "dereferenced object is incomplete",ERROR|ANSIV,
  116. "only 0 should be assigned to pointer",WARNING|ANSIV,
  117. "typedef <%s> is initialized",WARNING|ANSIV,
  118. "lvalue required to take address",ERROR|ANSIV,                      /*  115 */
  119. "unknown var <%s>",ERROR|ANSIV,
  120. "address of register variables not available",ERROR|ANSIV,
  121. "var <%s> initialized after \'extern\'",WARNING,
  122. "const var <%s> not initialized",WARNING,
  123. "function definition after \'extern\'",WARNING|ANSIV,               /*  120 */
  124. "return type of main is not int",WARNING|ANSIV,
  125. "invalid storage-class for function parameter",WARNING|ANSIV,
  126. "formal parameters conflict with parameter-type-list",WARNING|ANSIV,
  127. "parameter type defaults to int",WARNING|DONTWARN,
  128. "no declaration-specifier, used int",WARNING|ANSIV,                 /*  125 */
  129. "no declarator in prototype",WARNING|ANSIV,
  130. "static var <%s> never defined",WARNING,
  131. "} expected",WARNING,
  132. "left operand of comma operator has no side-effects",WARNING,
  133. "label empty",ERROR|ANSIV,                                          /*  130 */
  134. "redefinition of label <%s>",ERROR|ANSIV,
  135. "case without switch",ERROR|ANSIV,
  136. "case-expression must be constant",ERROR|ANSIV,
  137. "case-expression must be integer",ERROR|ANSIV,
  138. "empty if-expression",ERROR|ANSIV,                                  /*  135 */
  139. "if-expression must be arithmetic or pointer",ERROR|ANSIV,
  140. "empty switch-expression",ERROR|ANSIV,
  141. "switch-expression must be integer",ERROR|ANSIV,
  142. "multiple default labels",ERROR|ANSIV,
  143. "while-expression must be arithmetic or pointer",ERROR|ANSIV,       /*  140 */
  144. "empty while-expression",ERROR|ANSIV,
  145. "for-expression must be arithmetic or pointer",ERROR|ANSIV,
  146. "do-while--expression must be arithmetic or pointer",ERROR|ANSIV,
  147. "goto without label",ERROR|ANSIV,
  148. "continue not within loop",ERROR|ANSIV,                             /*  145 */
  149. "break not in matching construct",ERROR|ANSIV,
  150. "label <%s> was never defined",ERROR|ANSIV|INFUNC,
  151. "label <%s> was never used",WARNING|INFUNC,
  152. "register %s not ok",WARNING,
  153. "default not in switch",WARNING|ANSIV,                              /*  150 */
  154. "( expected",WARNING|ANSIV,
  155. "loop eliminated",WARNING,
  156. "statement has no effect",WARNING,
  157. "\'while\' expected",WARNING|ANSIV,
  158. "function should not return a value",WARNING|ANSIV,                 /*  155 */
  159. "function should return a value",WARNING,
  160. "{ expected",WARNING|ANSIV,
  161. "internal error %d in line %d of file %s !!",ERROR|INTERNAL|FATAL,
  162. "there is no message number %d",NOLINE|FATAL|ERROR,
  163. "message number %d cannot be suppressed",ERROR|NOLINE|FATAL,        /*  160 */
  164. "implicit declaration of function <%s>",WARNING|DONTWARN,
  165. "function call without prototype in scope",WARNING|DONTWARN,
  166. "#pragma used",WARNING|DONTWARN,
  167. "assignment in comparison context",WARNING|DONTWARN,
  168. "comparison redundant because operand is unsigned",WARNING,         /*  165 */
  169. "cast to narrow type may cause loss of precision",WARNING|DONTWARN,
  170. "pointer cast may cause alignment problems",WARNING|DONTWARN,
  171. "no declaration of global variable <%s> before definition",WARNING|DONTWARN,
  172. "'extern' inside function",WARNING|DONTWARN,
  173. "dead assignment to <%s%s> eliminated",WARNING|INFUNC|INIC|DONTWARN,/*  170 */
  174. "var <%s> is used before defined",WARNING|INFUNC,
  175. "would need more than %ld optimizer passes for best results",WARNING|INFUNC,
  176. "function <%s> has no return statement",WARNING|INFUNC,
  177. "function <%s> has no return statement",WARNING|DONTWARN|INFUNC,
  178. "this code is weird",WARNING|INFUNC,                                /*  175 */
  179. "size of incomplete type not available",WARNING|ANSIV,
  180. "line too long",FATAL|ERROR|ANSIV|PREPROC,
  181. "identifier must begin with a letter or underscore",FATAL|ERROR|ANSIV|PREPROC,
  182. "cannot redefine macro",ERROR|ANSIV|PREPROC,
  183. "missing ) after argumentlist",ERROR|ANSIV|PREPROC,                 /*  180 */
  184. "identifier expected",ERROR|ANSIV|PREPROC,
  185. "illegal character in identifier",ERROR|ANSIV|PREPROC,
  186. "missing operand before/after ##",ERROR|ANSIV|PREPROC,
  187. "no macro-argument after #-operator",ERROR|ANSIV|PREPROC,
  188. "macro redefinition not allowed",ERROR|ANSIV|PREPROC,               /*  185 */
  189. "unexpected end of file (unterminated comment)",FATAL|ERROR|PREPROC,
  190. "too many nested includes",FATAL|ERROR|PREPROC,
  191. "#else without #if/#ifdef/#ifndef",FATAL|ERROR|ANSIV|PREPROC,
  192. "#else after #else",ERROR|ANSIV|PREPROC,
  193. "#endif without #if",ERROR|ANSIV|PREPROC,                           /*  190 */
  194. "cannot include file",FATAL|ERROR|PREPROC,
  195. "expected \" or < in #include-directive",ERROR|ANSIV|PREPROC,
  196. "unknown #-directive",WARNING|PREPROC,
  197. "wrong number of macro arguments",ERROR|ANSIV|PREPROC,
  198. "macro argument expected",ERROR|ANSIV|PREPROC,                      /*  195 */
  199. "out of memory",FATAL|ERROR|PREPROC,
  200. "macro redefinition",WARNING|PREPROC,
  201. "/* in comment",WARNING|PREPROC,
  202. "cannot undefine macro",ERROR|ANSIV|PREPROC,
  203. "characters after #-directive ignored",WARNING|PREPROC,             /*  200 */
  204. "duplicate case labels",WARNING|ANSIV,
  205. "var <%s> is incomplete",WARNING|ANSIV,
  206. "long float is no longer valid",WARNING|ANSIV,
  207. "long double is not really supported by vbcc",WARNING,
  208. "empty struct-declarations are not yet handled correct",WARNING,    /*  205 */
  209. "identifier too long (only %d characters are significant)",WARNING,
  210. "illegal initialization of var <%s>",WARNING|ANSIV,
  211. "suspicious loop",WARNING|INFUNC,
  212. "ansi/iso-mode turned on",NOLINE|WARNING,
  213. "division by zero (result set to 0)",WARNING|ANSIV|INFUNC|INIC,     /*  210 */
  214. "constant out of range",WARNING|ANSIV,
  215. "constant is unsigned due to size",WARNING|DONTWARN,
  216. "varargs function called without prototype in scope",WARNING,
  217. "suspicious format string",WARNING,
  218. "format string contains \'\\0\'",WARNING,                           /*  215 */
  219. "illegal use of keyword <%s>",WARNING|ANSIV,
  220. "register <%s> used with wrong type",ERROR,
  221. "register <%s> is not free",ERROR,
  222. "'__reg' used in old-style function definition",WARNING,
  223. "unknown register \"%s\"",WARNING,                                  /*  220 */
  224. "'...' only allowed with prototypes",WARNING|ANSIV,
  225. "Hey, do you really know the priority of '&&' vs. '||'?",WARNING|DONTWARN,
  226. "be careful with priorities of <</>> vs. +/-",WARNING,
  227. "adress of auto variable returned",WARNING,
  228. "void function returns a void expression",WARNING,                  /*  225 */
  229. "redeclaration of typedef <%s>",WARNING|ANSIV,
  230. "multiple specification of attribute \"%s\"",WARNING,
  231. "redeclaration of var \"%s\" with differing setting of attribute \"%s\"",WARNING,
  232.